package com.huaqin.develop.demotest;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * @author 81010
 */
//@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})
@SpringBootApplication
@MapperScan(basePackages = {"com.huaqin.develop.demotest.mapper"})
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }
    
    // public static void main(String[] args) {
    //     new SpringApplicationBuilder(DemoApplication.class)
    //             .bannerMode(Banner.Mode.CONSOLE)
    //             .build()
    //             .run(args);
    // }

}
